
<?php

class Blog extends Toast{
	
	function __construct(){
		parent::__construct();
		
		$this->load->helper('url');
		$this->load->helper('form');
	}
	
	function index(){
		$data['title'] = "My Blog Title";
		$data['heading'] = "My Blog Heading";
		$data['query'] = $this->db->get('admin');
		$this->load->view('blog_view',$data);
	}
	
	function what($id){
		echo "101";
	}
}

?>

